package com.fj.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.fj.entity.AppVersion;
import com.fj.mapper.AppVersionMapper;
import com.fj.service.AppVersionService;
@Service
public class AppVersionServiceImpl implements AppVersionService{

    @Resource
    private AppVersionMapper appVersionMapper;

    @Override
    public int deleteByPrimaryKey(Long id) {
        return appVersionMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(AppVersion record) {
        return appVersionMapper.insert(record);
    }

    @Override
    public int insertSelective(AppVersion record) {
        return appVersionMapper.insertSelective(record);
    }

    @Override
    public AppVersion selectByPrimaryKey(Long id) {
        return appVersionMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(AppVersion record) {
        return appVersionMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(AppVersion record) {
        return appVersionMapper.updateByPrimaryKey(record);
    }

}
